package com.ruoyi.grape.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物联网监测数据对象 tb_grape_iot
 * 
 * @author ld
 * @date 2023-11-18
 */
public class GrapeIot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long meteId;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date acquireTime;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private Long deviceId;

    /** 空气温度 */
    @Excel(name = "空气温度")
    private Double airTemp;

    /** 空气湿度 */
    @Excel(name = "空气湿度")
    private Double airHump;

    /** 光合有效辐射 */
    @Excel(name = "光合有效辐射")
    private Double sunPar;

    /** 风速 */
    @Excel(name = "风速")
    private Double windSpeed;

    /** 风向 */
    @Excel(name = "风向")
    private Double windDirection;

    /** 降雨量 */
    @Excel(name = "降雨量")
    private Double rainPrcp;

    /** 土壤温度 */
    @Excel(name = "土壤温度")
    private Double soilTemp;

    /** 土壤湿度 */
    @Excel(name = "土壤湿度")
    private Double soilHump;

    /** pH值 */
    @Excel(name = "pH值")
    private Double soilPh;

    /** 土壤电导率 */
    @Excel(name = "土壤电导率")
    private Double soilEc;

    /** 数据传输单元 */
    @Excel(name = "数据传输单元")
    private String dtu;

    /** 备注 */
    @Excel(name = "备注")
    private String meteNote;

    public void setMeteId(Long meteId) 
    {
        this.meteId = meteId;
    }

    public Long getMeteId() 
    {
        return meteId;
    }
    public void setAcquireTime(Date acquireTime) 
    {
        this.acquireTime = acquireTime;
    }

    public Date getAcquireTime() 
    {
        return acquireTime;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setAirTemp(Double airTemp) 
    {
        this.airTemp = airTemp;
    }

    public Double getAirTemp() 
    {
        return airTemp;
    }
    public void setAirHump(Double airHump) 
    {
        this.airHump = airHump;
    }

    public Double getAirHump() 
    {
        return airHump;
    }
    public void setSunPar(Double sunPar) 
    {
        this.sunPar = sunPar;
    }

    public Double getSunPar() 
    {
        return sunPar;
    }
    public void setWindSpeed(Double windSpeed) 
    {
        this.windSpeed = windSpeed;
    }

    public Double getWindSpeed() 
    {
        return windSpeed;
    }
    public void setWindDirection(Double windDirection) 
    {
        this.windDirection = windDirection;
    }

    public Double getWindDirection() 
    {
        return windDirection;
    }
    public void setRainPrcp(Double rainPrcp) 
    {
        this.rainPrcp = rainPrcp;
    }

    public Double getRainPrcp() 
    {
        return rainPrcp;
    }
    public void setSoilTemp(Double soilTemp) 
    {
        this.soilTemp = soilTemp;
    }

    public Double getSoilTemp() 
    {
        return soilTemp;
    }
    public void setSoilHump(Double soilHump) 
    {
        this.soilHump = soilHump;
    }

    public Double getSoilHump() 
    {
        return soilHump;
    }
    public void setSoilPh(Double soilPh) 
    {
        this.soilPh = soilPh;
    }

    public Double getSoilPh() 
    {
        return soilPh;
    }
    public void setSoilEc(Double soilEc) 
    {
        this.soilEc = soilEc;
    }

    public Double getSoilEc() 
    {
        return soilEc;
    }
    public void setDtu(String dtu) 
    {
        this.dtu = dtu;
    }

    public String getDtu() 
    {
        return dtu;
    }
    public void setMeteNote(String meteNote) 
    {
        this.meteNote = meteNote;
    }

    public String getMeteNote() 
    {
        return meteNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("meteId", getMeteId())
            .append("acquireTime", getAcquireTime())
            .append("deviceId", getDeviceId())
            .append("airTemp", getAirTemp())
            .append("airHump", getAirHump())
            .append("sunPar", getSunPar())
            .append("windSpeed", getWindSpeed())
            .append("windDirection", getWindDirection())
            .append("rainPrcp", getRainPrcp())
            .append("soilTemp", getSoilTemp())
            .append("soilHump", getSoilHump())
            .append("soilPh", getSoilPh())
            .append("soilEc", getSoilEc())
            .append("dtu", getDtu())
            .append("meteNote", getMeteNote())
            .toString();
    }
}
